/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.ove.clientserver.events;

/**
 *
 * @author Mr.Sam
 */
import java.util.EventListener;
import fr.ove.clientserver.events.SocketServerEvent;

/**
* The interface to implements for those that want to listen to a SocketServer.
*/
public interface SocketServerListener extends EventListener {
    /**
    * Accept the socket encapsulated inside the event fired by the socket server listenned.
    * @param evt the event fired by the socket server listenned.
    */
    public void socketAccepted(SocketServerEvent evt);
}